using RBAC.Domain.BomManage;

namespace RBAC.Read.Api.Application.Dto.Bom
{
    /// <summary>
    /// BOM 详情 DTO，包含产品编码与名称
    /// </summary>
    public class BomDetailDto
    {
        public long Id { get; set; }
        public string Code { get; set; } = string.Empty;
        public string Name { get; set; } = string.Empty;
        public long ProductId { get; set; }
        public string? ProductCode { get; set; }
        public string? ProductName { get; set; }
        public string Version { get; set; } = "V1.0";
        public string? Unit { get; set; }
        public int? Status { get; set; }
        public string? RevisionNotes { get; set; }
        public string? CreateUser { get; set; }
        public DateTime? CreateTime { get; set; }
    }
}
